#include "game_client.h"

int game_client_connect_local(Game *server)
{
    Game_Player *p1 = game_player_spawn(server);
    Game_Entity *e1 = &server->entities[p1->entityIndex];

    int localIndex = array_size(server->localPlayers);
    server->localPlayers = array_resize(server->localPlayers, localIndex+1);
    server->localPlayers[localIndex] = p1->playerIndex;

    return localIndex;
}
